package com.longteng.diamond.dao;


import com.longteng.diamond.domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * Created by Administrator
 * DATE : 2018/6/28
 * TIME : 20:23
 * PROJECT : java-lesson
 * PACKAGE : com.longteng.lesson
 *
 * @author <a href="mailto:taki@qq.com">Administrator</a>
 */
@Mapper
public interface UserMapper {

    /**
     * @description: 修改接口
     * @param user
     * @return long
     */
    public void updateUser(User user);

    /**
     * @description: 获取用户
     * @param user
     * @return long
     */
    public User getUser(User user);
    /**
     * @description: 获取所有用户
     * @param
     * @return long
     */
    public List<User> getAllUser();
}
